package com.alice.dao;

import com.alice.entity.DemoData;
import com.alice.mapper.DemoMapper;

import java.util.List;

public class DemoDAO {
    private DemoMapper demoMapper;

    public void save(List<DemoData> list) {
        // 如果是mybatis,尽量别直接调用多次insert,自己写一个mapper里面新增一个方法batchInsert,所有数据一次性插入

    }
}
